package com.zan.pattern.adapter.object_adapter;

/**
 * @Author Zan
 * @Create 2024/4/25 21:21
 * @Description : 具体的SD卡类
 * @ClassName: SDCardImpl
 */
public class SDCardImpl implements SDCard {

    @Override
    public String readSD() {
        String msg = "SDCard read msg : Hello World SDCard";
        return msg;
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("SDCard write msg : " + msg);
    }
}
